msg_queue_server:mqbroker.cpp ../mqcommon/message.pb.cc ../mqcommon/protocol.pb.cc ../mqthird/include/muduo/proto/codec.cc
	g++ -o $@ $^ -std=c++17 -lz -lprotobuf -lsqlite3 -lgtest -pthread -lmuduo_base -lmuduo_net  -I../mqthird/include -L../mqthird/lib

.PHONY:clean file
clean:
	rm -rf ./msg_queue_server ./data

file:
	rm -rf ./data 